<!--SIF Implementation Specification 2.2-6 (March 17, 2008)-->
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" targetNamespace="http://www.sifinfo.org/infrastructure/2.x" xmlns:sif="http://www.sifinfo.org/infrastructure/2.x" elementFormDefault="qualified">
  <xs:import namespace="http://www.w3.org/XML/1998/namespace" schemaLocation="imports/xml/xml.xsd" />
  <xs:complexType name="StaffMealType">
    <xs:annotation>
      <xs:documentation>
								This object communicates the current meal status and account status of a given staff member. This object indicates
								whether the staff member is entitled to earn meals.
							</xs:documentation>
    </xs:annotation>
    <xs:sequence>
      <xs:element name="EarnedStatus" minOccurs="0" type="sif:EarnedStatusType" />
      <xs:element name="LastBreakfastDate" minOccurs="0" type="xs:date">
        <xs:annotation>
          <xs:documentation>Last breakfast served date</xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="LastLunchDate" minOccurs="0" type="xs:date">
        <xs:annotation>
          <xs:documentation>Last lunch served date</xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="Amounts" minOccurs="0">
        <xs:complexType>
          <xs:sequence>
            <xs:element name="Amount" minOccurs="0" maxOccurs="unbounded" type="sif:FSAmountType" />
          </xs:sequence>
        </xs:complexType>
      </xs:element>
      <xs:element name="SIF_Metadata" minOccurs="0" nillable="true" type="sif:SIF_MetadataType" />
      <xs:element name="SIF_ExtendedElements" minOccurs="0" nillable="true" type="sif:SIF_ExtendedElementsType" />
    </xs:sequence>
    <xs:attribute name="StaffPersonalRefId" use="required" type="sif:IdRefType">
      <xs:annotation>
        <xs:documentation>The GUID of the staff to whom this object is linked.</xs:documentation>
      </xs:annotation>
    </xs:attribute>
  </xs:complexType>

  <xs:element name="StaffMeal" type="sif:StaffMealType" />

</xs:schema>